﻿using System;
using System.Web;
using System.Web.UI;

namespace Cms.Web.UI.Admin
{
    public partial class PixlrBack : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            hlBack.NavigateUrl = "Media.aspx";
            if (!string.IsNullOrEmpty(Request.QueryString["browseitemdata"]))
                hlBack.NavigateUrl += "?browseitemdata=" + Server.UrlEncode(Request.QueryString["browseitemdata"]);
            HttpCookie cookie = Request.Cookies["FrediumAdminLocalization"];
            string localization = cookie != null ? cookie.Value : "en-US";
            litCancel.Text = localization == "en-US" ? litCancelEn.Text : litCancelSv.Text;
        }
    }
}